home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 4
/
Precision Software Applications Silver Collection Volume 4 (1993).iso
/
new
/
secure2.arj
/
SAMPLE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-08-06
|
2KB
|
40 lines
/* ----------------------------------------------------------
** SAMPLE.CMD
** The Secure Workplace
** Sample Object Creation Program
** ---------------------------------------------------------*/
'@echo off'
/* ---------------------------------------------------------
** Load the REXX Utility functions
** --------------------------------------------------------*/
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
/* ---------------------------------------------------------
** Create a Secure Folder on the Desktop
** --------------------------------------------------------*/
ClassName = 'SWSFolder'
Setup = 'OBJECTID=<SWP_SECUREFOLDER>;'
Title = 'Secure Folder^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
/* ---------------------------------------------------------
** Create a Restricted Folder on the Desktop
** --------------------------------------------------------*/
ClassName = 'SWRFolder'
Setup = 'OBJECTID=<SWP_RESTRICTFOLDER>;'
Title = 'Restricted Folder^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
/* ---------------------------------------------------------
** Create a Secure Program on the Deskop
** --------------------------------------------------------*/
ClassName = 'SWSProgram'
Setup = 'OBJECTID=<SWP_SECUREPROGRAM>;EXENAME=*;PROGTYPE=WINDOWABLEVIO;'
Title = 'Secure Program^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
exit